﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace PUZZLEgestServer.SVC
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IUserAdministration" in both code and config file together.
    [ServiceContract]
    public interface IUserAdministration
    {
        [OperationContract]
        DAL.User CreateFirstUser(DAL.User newUser);
       
        [OperationContract]
        DAL.User CreateUser(DAL.User newUser);

        [OperationContract]
        DAL.User GetUsers(DAL.User activeUser);

        [OperationContract]
        void SaveUsers(DAL.User activeUser, DAL.User[] users);

    }
}
